<nz-input-group [nzSuffix]="suffixIcon">
    <input type="text" nz-input placeholder="查询品类" [(ngModel)]="searchValue" />
</nz-input-group>
<ng-template #suffixIcon>
    <i class="iconfont icon-search-2-line"></i>
</ng-template>

<div class="tree-panel">
    <nz-tree nzShowLine [nzData]="nodes" [nzSearchValue]="searchValue" (nzClick)="nzEvent($event)" [nzHideUnMatched]="true">
    </nz-tree>
</div>

<nz-divider></nz-divider>
<div class="floor">
    <button nz-button nzType="default" (click)="cancel()">取消</button>
    <button nz-button nzType="primary" (click)="ok()">确定</button>
</div>

<ng-template #nodeItem let-node let-origin="origin">
    <!--(nzExpandChange)="nzEvent($event)" (nzSearchValueChange)="nzEvent($event)" [nzTreeTemplate]="nodeItem" <nz-radio-group [(ngModel)]="radioValue" nzName="radiogroup" *ngIf="origin.isLeaf">
        <label nz-radio [nzValue]='origin.key' ngModel (ngModelChange)="selecteNode(origin)">{{origin.title}}</label>
    </nz-radio-group>
    <span *ngIf="!origin.isLeaf"> {{origin.title}}</span> -->

    <span> {{origin.title}}</span>
</ng-template>